import requests from '@/utils/requests'

//获取评论总数
export const getCommentCount = goodsId => requests.get('/comment/total', {
    params: {
        goodsId
    }
})

//获取评论
export const getComment = (goodsId, limit) => requests.get('/comment/listRows', {
    params: {
        goodsId,
        limit
    }
})